package com.example.carownersnew;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity implements View.OnClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Button bt_mine = findViewById(R.id.bt_mine);
        bt_mine.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        //跳转到我的页面
        startActivity(new Intent(this, MineActivity.class));
    }

    public void datafenxi(View view) {
        startActivity(new Intent(this, DataAnalyzeActivity.class));
    }
}